package com.bytz.modules.cms.reseller.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bytz.modules.cms.reseller.entity.CouponReseller;
import com.bytz.modules.cms.reseller.model.CouponResellerModel;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IAdminCouponResellerService extends IService<CouponReseller> {
    /**
     * 添加优惠卷
     */
    void addCouponReseller(CouponResellerModel couponReseller);


    /**
     * 批量导入优惠卷
     */
    void  importExcel(List<CouponReseller> models);

    /**
     * 编辑时查找ID进行回显
     */
    CouponReseller getModelById(String id);

    /**
     * 分页查询
     */
    void getCouponResellerPage(IPage<CouponReseller> page, CouponReseller couponReseller, HttpServletRequest req);
}
